home *** CD-ROM | disk | FTP | other *** search
/ Interactive Quarterly / The Best of New Machine Publishing 1 - Disc 4: Interactive Quarterly.iso / pc / xtras / pomlite.dir / Documentation_16.txt < prev    next >
Encoding:
Text File  |  1996-10-06  |  1.8 KB  |  44 lines

  1. append 
  2.  
  3. Syntax: append documentObject, member whichCastmember [, ... ]
  4.         append documentObject, member whichCastmember 
  5.             of castLib whichLib [, ... ]
  6.         append documentObject, castLib whichCast [, ... ]
  7.         append documentObject, sprite whichSprite [, ... ]
  8.         append documentObject, string [, ... ]
  9.         append documentObject, list [, ... ]
  10.  
  11. This command appends one or more items to a PrintOMatic Lite document object.
  12.  
  13.     type of object             what gets appended
  14.     _____________________________________________________________________
  15.  
  16.     text field cast member     the text of the field, using the specified
  17.                                fonts and styles
  18.     rich text cast member      the bitmap image of the cast member,
  19.                                including anti-aliasing
  20.     bitmap cast member         the cast member graphic
  21.     PICT cast member           the cast member graphic
  22.     cast library               all printable cast members in the library,
  23.                                in cast sequence
  24.     sprite                     the cast member of the sprite
  25.     text string                the text string, in the default font
  26.                                (Geneva 10pt on Macintosh, Arial 10pt 
  27.                                on Windows)
  28.     list (linear or property)  the elements in the list
  29.  
  30. Example:
  31.  
  32. The following example creates a PrintOMatic Lite document object, sets the document name, appends a number of items to the document, and prints it:
  33.  
  34.     set doc = new(xtra "PrintOMatic_Lite")
  35.     if not objectP(doc) then exit
  36.     setDocumentName doc, "My Example Document"
  37.     append doc, sprite 1
  38.     append doc, [member "image", member "caption", sprite 5]
  39.     append doc, castLib "printout"
  40.     if doJobSetup(doc) then print doc
  41.     set doc = 0
  42.  
  43.  
  44.